From bab7d4e41bcef7b1fb80cc51c9d6756b06041575 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Mon, 18 Dec 2006 16:11:19 +0000 Subject: [PATCH] [XEN] Revert 12977:af39d20b2b728941421ef18e5c5b1012852eec80 This changeset broke the ELF note layout on x86_64. Signed-off-by: Ian Campbell --- xen/include/xen/elfcore.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/include/xen/elfcore.h b/xen/include/xen/elfcore.h index 356fc1744d..75ce7c49ef 100644 --- a/xen/include/xen/elfcore.h +++ b/xen/include/xen/elfcore.h @@ -87,7 +87,7 @@ typedef struct desctype desc; \ PAD32(sizeof(desctype)); \ } desc; \ - } type + } __attribute__ ((packed)) type #define CORE_STR "CORE" #define CORE_STR_LEN 5 /* including terminating zero */ @@ -119,7 +119,7 @@ typedef struct { crash_note_core_t core; crash_note_xen_core_t xen_regs; crash_note_xen_info_t xen_info; -} crash_note_t; +} __attribute__ ((packed)) crash_note_t; #define setup_crash_note(np, member, str, str_len, id) \ np->member.note.note.note.namesz = str_len; \ -- 2.30.2